package book;

import operate.Ioperate;

import java.util.Arrays;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-03-23
 * Time: 22:10
 */
public class BookList {

    private Books[] bookList = new Books[10];
    private int booknumber;

    public BookList() {
        this.bookList[0] = new Books("三国演义","罗贯中",20);
        this.bookList[1] = new Books("水浒传","施耐庵",15);
        this.bookList[2] = new Books("红楼梦","曹雪芹",35);
        this.booknumber = 3;
    }


    public Books[] getBookList() {
        return bookList;
    }

    public void setBookList(Books[] bookList) {
        this.bookList = bookList;
    }

    public int getBooknumber() {
        return booknumber;
    }

    public void setBooknumber(int booknumber) {
        this.booknumber = booknumber;
    }
}
